package dto.bd1;

public class GiteUN {
	/*
	 * "CREATE TABLE IF NOT EXISTS  `Gite` (`id_gite` CHAR( 15 ) NOT NULL , `surface` FLOAT NOT NULL ,"
	 * +
	 * "`Element_Descriptif` VARCHAR( 50 ) NOT NULL , `Emplacement` VARCHAR( 500 ) NOT 	NULL , `nombre_place` INT( 3 )"
	 * + " NOT NULL , `Prop` CHAR( 15 ) NOT NULL , PRIMARY KEY (`id_gite`)) ";
	 */

	private String id;
	private String surface;
	private String elemDescriptif;
	private String emplecement;
	private int nombrePlace;
	private String prop;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getSurface() {
		return surface;
	}
	public void setSurface(String surface) {
		this.surface = surface;
	}
	public String getElemDescriptif() {
		return elemDescriptif;
	}
	public void setElemDescriptif(String elemDescriptif) {
		this.elemDescriptif = elemDescriptif;
	}
	public String getEmplecement() {
		return emplecement;
	}
	public void setEmplecement(String emplecement) {
		this.emplecement = emplecement;
	}
	public int getNombrePlace() {
		return nombrePlace;
	}
	public void setNombrePlace(int nombrePlace) {
		this.nombrePlace = nombrePlace;
	}
	public String getProp() {
		return prop;
	}
	public void setProp(String prop) {
		this.prop = prop;
	}

	public String toString(){
		return this.getId()+","+this.getElemDescriptif()+","+this.getEmplecement()+","+this.getProp()+","+this.getSurface()+","+this.getNombrePlace();}
}
